package com.item.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;


@Data
@AllArgsConstructor
@NoArgsConstructor
public class Shop implements Serializable {

    @TableId(type = IdType.AUTO)
    private Integer sid;

    private String store_name;

    private Integer c_id;

    private String detailed_address;

    private String principal;

    private String store_telephone;

    private String start_time;

    private String end_time;

    private Integer store_status;

    private Integer store_num;

    private Integer store_vehicle;

    private String longitude;

    private String latitude;

    @TableField(exist = false)
    private City city;

    public Shop(Integer sid, Integer store_status) {
        this.sid = sid;
        this.store_status = store_status;
    }
}
